<?php

/**
 * caloriescat actions.
 *
 * @package    sf_sandbox
 * @subpackage caloriescat
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 2288 2006-10-02 15:22:13Z fabien $
 */
class caloriescatActions extends autocaloriescatActions
{
  protected function updateCaloriescatFromRequest()
  {
    $caloriescat = $this->getRequestParameter('caloriescat');
    $this->caloriescat->setCulture($this->getUser()->getCulture());

    if (isset($caloriescat['name']))
    {
      $this->caloriescat->setName($caloriescat['name']);
    }
  }
}
